package com.ccom.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description: AuthFilter跳过配置项中的url
 * @Author: zjj
 * @Date: 2021/12/21
 */
@Data
@RefreshScope
@ConfigurationProperties("ccom.auth")
public class AuthProperty {

    private Boolean enable = true;

    private final List<String> skipUrl = new ArrayList<>();

}
